package boxync;

public class BoxyncException extends Exception {
    public String expected;
    
    public BoxyncException(String _message, String _expected) {
        super(_message);
        expected = _expected;
    }
    
    @Override
    public String toString() {
        String err = "Error: " + getMessage();
        err += "\nExpected: " + expected;
        return err;
    }
}
